package com.huan.springcloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * 作者： huan~
 *
 * @Date 2022-04-05 23:35
 * @Description
 */
@Configuration
public class configBean {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}